package com.webtest.dataprovider;

import java.io.IOException;

import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

public class NSDataProvider {

	@DataProvider(name = "number")
	public Object[][] getNumData() throws IOException {
		return new ExcelDataProvider().getTestDataByExcel("data/number.xlsx", "Sheet1");
	}

	@DataProvider(name = "content")
	public Object[][] getContentData() throws IOException {
		return new ExcelDataProvider().getTestDataByExcel("data/content.xlsx", "Sheet1");
	}
	
	@DataProvider(name = "link")
	public Object[][] getlinkData() throws IOException {
		return new ExcelDataProvider().getTestDataByExcel("data/link.xlsx", "Sheet1");
	}
}

	
